package com.cloudfun.campusshare.common.model.vo;

import com.cloudfun.campusshare.common.constant.RegisterType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * @author : zhangyongjie
 * @version : 1.0
 * @createTime : 2021/3/18 17:13
 * @description : 子商户银行卡绑定
 */
@Data
public class BackCardBindVO {
    @ApiModelProperty(value = "进件类型")
    private RegisterType registerType;

    @ApiModelProperty(value = "商户全称")
    @NotBlank(message = "商户全称不能为空")
    private String merchantName;

    @ApiModelProperty(value = "商户简称")
    @NotBlank(message = "商户全称不能为空")
    private String merchantShortName;

    @ApiModelProperty(value = "客服电话")
    @NotBlank(message = "商户全称不能为空")
    private String servicePhone;

    @ApiModelProperty(value = "联系邮箱")
    private String email;

    @ApiModelProperty(value = "企业/个体证书编号")
    private String businessLicense;

    @ApiModelProperty(value = "省编码")
    @NotBlank(message = "省编码不能为空")
    private String provinceCode;

    @ApiModelProperty(value = "市编码")
    @NotBlank(message = "市编码不能为空")
    private String cityCode;

    @ApiModelProperty(value = "区编码")
    @NotBlank(message = "区编码不能为空")
    private String districtCode;

    @ApiModelProperty(value = "地址")
    @NotBlank(message = "地址不能为空")
    private String address;

    @ApiModelProperty(value = "姓名")
    @NotBlank(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "手机")
    @NotBlank(message = "手机不能为空")
    private String phone;

    @ApiModelProperty(value = "证件号码")
    @NotBlank(message = "证件号码不能为空")
    private String certId;

    @ApiModelProperty(value = "银行卡号")
    @NotBlank(message = "银行卡号不能为空")
    private String bankCardNo;

    //---------------影像资料--------------------
    /**
     * 身份证正面图片id
     */
    @NotBlank(message = "身份证正面照不能为空")
    private String idCardFrontImg;

    /**
     * 身份证反面图片id
     */
    @NotBlank(message = "身份证反面照不能为空")
    private String idCardBackImg;

    /**
     * 企业/个体证件类型照id
     */
    private String businessLicenseImg;
}
